// 引入用户数据类型
import type {userInfoData} from "@/api/user/type"
export interface UserState{
  // mock模拟数据类型
  // token:string|null
  // 单用户数据封装
  user:userInfoData|null,
  // 用户组
  users:userInfoData[]
}

// 引入角色数据类型
import type { roleInfoData } from "@/api/role/type"
export interface RoleState{
  // 角色组
  roles:roleInfoData[] | undefined
}

// 学校
import type { schoolInfoData } from "@/api/school/type"
export interface SchoolState{
  schools:schoolInfoData[] | undefined
}
// 专业
import type { majorInfoData } from "@/api/major/type"
export interface MajorState{
  majors:majorInfoData[] | undefined
}
// 班级
import type { classInfoData } from "@/api/class/type"
export interface ClassState{
  classes:classInfoData[] | undefined
}
// 学员
import type { studentInfoData } from "@/api/student/type"
export interface StudentState{
  students:studentInfoData[] | undefined
}